package com.kinon.norogamilk.bean;

import java.io.Serializable;

/**
 * Created by lhqq on 2017-12-20.
 */

public class SpecInfoBean implements Serializable {

    private int id;
    private int categoryid;
    private double price;
    private String unit;

    private String spec;
    private int source;
    private int goods_id;
    //库存
    private int stock;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(int categoryid) {
        this.categoryid = categoryid;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    @Override
    public String toString() {
        return "SpecInfoBean{" +
                "id=" + id +
                ", categoryid=" + categoryid +
                ", price=" + price +
                ", unit='" + unit + '\'' +
                ", spec='" + spec + '\'' +
                ", source=" + source +
                ", goods_id=" + goods_id +
                ", stock=" + stock +
                '}';
    }
}
